/* 接口api */
var wdomain = "https://www.wzhouhui.com/dj",
    mdomain = "https://m.wzhouhui.com";

module.exports = {

    // 登录模块 login
    userInfo: wdomain + '/user/info',
    updateNickName: wdomain + '/user/updateNickname',
    sendPhoneMessage: mdomain + '/utils/sendPhoneMessage',
    sendMsg: wdomain + '/user/sendMsg',
    updatePhone: wdomain + '/user/updatePhone',
    checkPhone: wdomain + '/user/checkPhone',
    doLogin: mdomain + '/mp/doLogin',
    // 地址模块
    getLocation: wdomain + '/Location/getLocation',
    addressList: wdomain + '/address/addressList',
    // 省市区接口
    areaData: wdomain + '/address/getAreaData',
    // 城市列表接口
    cityList: wdomain + '/store/citylist',
    // 搜索城市
    searchArea: wdomain + '/Address/searchAreaData',
    // 有门店的省市区列表
    regionList: wdomain + '/store/regionList',
    initialAddress: wdomain + '/Address/initialsAddressData',
    // 订单模块
    // 确认订单
    checkoutOrder: wdomain + '/order/checkoutOrder',
    createOrder: wdomain + '/order/createOrder',
    refundOrder: wdomain + '/Aftersales/applyRefund',
    cancelOrder: wdomain + '/order/cancelOrder',
    // 确认收货
    confirmOrder: wdomain + '/order/confirmGoods',
    orderList: wdomain + '/order/orderlist',
    orderDetail: wdomain + '/order/orderDetail',
    orderProgress: wdomain + '/order/orderProgress',
    orderMsgBox: wdomain + '/Aftersales/msgBox',

    //门店模块
    storeShow: wdomain + '/store/show',
    storeMore: wdomain + '/store/more',
    storeSearch: wdomain + '/store/searchStore',
    storeDetail: wdomain + '/store/detail',

    // 商品
    goodsDetail: wdomain + '/goods/goodsDetail',
    goodsSearchGoods: wdomain + '/goods/searchGoods',
    goodsGoodslist: wdomain + '/goods/goodslist',

    // 购物车
    cartCheck: wdomain + '/Cart/cartCheck',

    // 优惠券
    couponConversion: wdomain + '/coupon/conversion',
    couponList: wdomain + '/coupon/list',
    couponDetailPage: mdomain + '/h5/couponexplain',
    couponDetail: wdomain + '/coupon/detail',


}